home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
Other Langs
/
mpw yacc ƒ src
/
Mac-byacc (README, too)
< prev
next >
Wrap
Text File
|
1989-11-19
|
1KB
|
29 lines
Macintosh Changes:
I have made some changes to the sources to allow compilation under
Macintosh Programmer's Workshop using MPW C 2.0.2 or Aztec C 3.6c.
MPW-style error messages added.
Files created with type 'TEXT' and creator 'MPS '.
Bugs having to do with use of free() fixed. Apparently, it is
permissible to free() a nil pointer under Unix, and to expect
the contents of a freed block to be still valid. Not so with
the two Macintosh C compilers that I have.
Support for 16-bit ints added in "dep.h."
The Macintosh Programmer's Workshop version of byacc keeps a copy
of the parser file byaccpar in the byacc tool's data fork. In order to
find the parser file, byacc must be able to open itself as a data file.
If the tool has problems finding itself, try invoking it by full
pathname or using an alias, e.g. "alias yacc `which byacc`."
It behaves in other respects much as AT&T Yacc. Output is
"y.tab.c" in the current directory, etc.
Earle R. Horton